cleanup some warnings