minor fix for !autolock