a bit of cleanup for `fs`