fix bug with calling back from query fetch after first item