Fixed ResetWorld

Fixed ResetWorld with some code