Fixed bug in fs.header() and fs.sequence() method