fixed silly compiler warnings