fix :replace_parent to send two parameters (old and new)