fix support for image variants