remove useless map object