updated erroneous light sensor