fix build and lighting controls