warning fixes

two warning fixes