grab url prefix. fixes #102