Use rtrim to avoid issues