removing resizemap