Refine loading anmimation, fix some deploy issues