Possible bug fix for when light value returned is nil.