added chaecking for type category in reports controller