Proper bit reset code