set colors correctly, and fixed tip history loading bug