remove enum dependency