added perecondition for missing parentRow