fixed moving bug!