fix warnings from the Athena compiler