fixed warnings and installaion