fixed iteration through all objects