Remove compiler warnings.
Removed some warnings