bug fixing
added template <mod_image_spis>