trim # from url