moved the query for the imglib container to the right position