fixed some respawn issues and log truncating