Fixing LOW_MEMORY_OUTPUT