Cleaned up old deadzone code