fixed recent changes in input.C that makes bcs calculation not working