fixed lamp being replaced if lit status is different, close #1735