made an else condition if no categories created
made an else condition if no categories created
extended column for empty types