removed unnessary query object find loop