add figure extension