problem on enum solved