Fix backwards magic values.
Fix backwards magic value and broken debug print.