Hittest driving me mad :@

hey i have attached my file below i have tried everything i know about hittest and more… but i cannot get it to work =\

its supposed to hit the box to the right of him and stop but nope…it does some crazy bounce. and takes my char away frrom centre.

plz help me

plz plz plz plz plz. pritty plz.