fix missing query result