fix objects that implement interfaces failing on second attempt at object creation