correct img src rewrite