added install
fix errors in templates