remove unneccessary map