Fix some strange settings when printing a sample profile with -p parameter.