image erb correction