fix assets compile for production