fixed spawn not reset