- fail case for ->parent

Signed-off-by: Gabriel Andrade <gabiruh@gmail.com>