fixed ambient light bug