[SUPER CRITICAL] Fix priority deserialization bug

what's wrong with this?