found bug w/ query if active was not selected