removing redundant map