fixed the scenario bug that was breaking the code, still have a bug realted to the rendering of TextMate 2 in editing, may be related to the partial form code