fixed bug in generation of inputs