fixed one error with maxDiference in getList