Fix query demo