fix api creation
compile assets