fix the error in writeGFF