improved initial brightness setting