small compiler warning fixes