fixed object creation to properly include layer, tags and name