forgot to init/free lock