fixed a typo in previous checks that is caught only by xlc compiler.