temp memlock edit