Changed to remove by index instead by name.

Signed-off-by: Wolftein <agustin.l.alvarez@hotmail.com>