fix random color on linux