fixed bugs of installer