fixed setting contract after 4 passes
added summary controller