some fixes for the birghtness issue