fixed the number and priority