attempt to optimize app with url instead of query