fixed tab when textarea is empty bug