make sure parent exist