fixed route and ajax for category creation in post form