Fix a bug that cannot move previous error #1
Refactor
Use and statement instead of = '()
Fix a bug that stop moving #2