t13_priority: fixed bugs