issue with custom fields not displaying correctly