possible bug with img plugin