simplifies parent/child preview code; fixes #1489