fix api create
compile assets