fixed a bug for add file header in st3