fix get absolute url bug