Magic number bugfix