fixing initial focus issue