add try for fix bug