warning fixes

fixed warnings