removed and fixed enum types

enum size specifying is not yet supported by some compilers