bug with lights corrected