[#1376] fixed initialisation problems
[#1376] cleaning up leaks in condInput