final fix (hopefully) for brightness bug