fixed issue for pretty_printing of enums
quickfix for exported types