cleaned up compiler warnings