fix, using wrong parent type