fixing priorities