fixed launching errors