[Minor] cleaned up compiler warnings