fix error of starting application