takes care of a couple of compiler warnings