added removeparent command