fixed null query bug