Fixed errors in load