fix some locks