fix api create category
compile assets