fixed opening of nested statement