fixing load errors