fixed error of base_url in fast_url_for()
minor: added some debug code to check parameters