Remove last endl