removed database name from query