issues fixed due to the removal of the path field from the categories table

issues fixed due to the removal of the path field from the categories table