Fixed problem with input data.