set options recursively - fixes #5