setFetchDirection had wrong return type