remove the ui/image dependency