Fixing bug with sensors page