fixed statment order in generated pretty_c