fix Lock