Navigation looking for blank line instead of index