code -> only
only closeScope fixed