queue: add/remove blank lines