Trim space for empty line