Auto remove Trailing spaces