Fixed error caused by merging of modular input and .net 3.5 change