Fix state will not change back to 'available