Fixing bug with entering data.