fix loading and minor typo errors