lock test fix