fix bug with img %s