fixed nested controller