fixed load memory error