memory problem resolved