fixd pointer to enum issues.