set img path correctly