restructure img fix