fix brif directory