Master detail example correction