Fix tasks priority