Fixing bug in flatiron.