finally got rid of the unknown nil color bug at startup!