fixed some installer bugs