Removed warnings

Removed everything that caused warnings