fix #16. sethandler on child no longer affects its parent