fix template image