fix the unused-result flag