Need UserRole for record date
fixed mac build