correction bugs function nohtml