lint: no double \n in middle of function