removes some warnings