bug fixes in the input