noitem mapflag fix #2

should be the last one, fixing some warnings