fixed locked state(i think)