Attempted memory fix