fixed an fcs detection bug