delete the useless map