Code

fixed base detection for new objects.