fixed the Query issue in kitchen obj