hopefully fixed bug with message handler and lights