Fixing bug with importing new data