added if statement around addition of viscous flux terms to be safe