fix loading exceptions