fixed weird color switching on reset