fixed bugs with handling manual install