removed LIMIT, caused sqlite error