fixed typo hasmoved -> hasMoved