fix blank-line parsing