remove duplicate white spaces