deletion of useless enum