Added getting fragment from url