cleaning up warnings

Cleaned up compiler warnings