fixed bug that occors when list of statuses is 0 items