fixed bug in set html ace mode