fixed null parent super

Signed-off-by: Daniel Fagnan <dnfagnan@gmail.com>