bug in enum packages fixed