trying to fix the empty objects being added to 'platforms'