fix originalUrl
test working and original
logging