Fixed a minor dislocation bug