Remove whitespace at the end