work around what seems to be a vim bug
correctly test for emptyness