remove not needed mapflag