remove redundant map