cleaning up some warnings