removed sleep on spawn