fixed things to avoid compiler warnings