fix for mysterious problem with empty object list