Fix flash color on error