fix demo
fix query and get methods