fixed prefix to handle urls with slashes in fragment-id