fixing autolock alert