cleaning up compiler warnings