improve textarea performance