Fixed some loading errors.