bugfix, check range of value before attempting to index ftab.
changed _ to [, add ] and _