bug fix in fdscat