Well I have never heard of that particular command before so I can't advise you there. As for the other, I wonder -- is it possible you may have aligned your collision boxes to the wrong face? What I mean is, if the boxes are set up as;
---- box here.
|--|
----
_____________ (wall here)
rather than;
____________ (wall here)
----
|--|
---- box here.
You will get a collision before you reach the wall. You have to make sure the faces "line up" to the edge of the wall.
good luck.
S.
[Edit] Gee I hope that graphic makes sense... sure looks awful in text like this.
Any truly great code should be indisguishable from magic.