fixed bug when launch