reducing compile time warnings