clean up empty object allocation