fixed some undefined parameter errors in template deployment

I had some problems when installing an instance from a template. Some parameters where not found.