set image refactor done