Fix bug, range2process was seperated into 2 arguments start and end instead of 1.