Removed debug logging
Warning fixes