minor bug in query console fixed