Fix input always begins with 0