fixed few install bugs