fixed minor compiler warnings