fixes image url regex
set more detail at log