Remove duplicated '#'