handle the situation when chuanr gets instantiated after focused on input