delchild method

Signed-off-by: Otakode <marchal.cl@gmail.com>