Lock need to be fixed.