SetPriority fix