bf: wrong expression for NULL writer