Removes magic numbers and an useless check

- it shouldn’t runtime.