minor compiler warning fixes