fix deploy script and try to fix assets