Fixed category submit errors