resolving compile time warnings.