remove extension from enum