fixed displayed views for leave requests