fix #751, introduce #absolute_url for generating absolute urls