Fix error message of axes guard