used ABSOLUTE_URL for rout inclusive hostname and removed wrong use of vsprintf