fix for nested add