Corrections for F77 compliance