fixed a typo in constant name S_RESULT_OK