erase in line is now working properly with style range