fixes for nested children and long texts