fixed bug: focus on root text working