fix bug in url_for_annpath