remove useless map call