Fix tabs, incorrect lock release