removing some warnings