memory error fix
fix