fixed 'exhausted memory' problem