fixed have no main activity bug.