Fix wrong input data