fixed a bug in fis