Moving the tag to the correct place