fixed overflows
fixed it