deprectated fix
enum fix