fixed property 'firstObject' not found