code format and fix minor issues in mount.sh