fixing imagizer method