fix to add missing query column