Remove trailing empty line