remove blank line at the end for real