return code fix