Why does child property not work?