bug fix in wall rs.getInput()