[bug] remove the dependency on enum34