fix content length exceeds the edit box area