fix bug that it can not clear content line on portal.