fix bugs in f (memory fill) command.