small warning fixes