Fixed bug in new removed warnings