fixed all warnings

I had the same thought :)