Fix parent param assignment

Fixes #11