change output of check_avemax(). (#4)