src: fixed bug with directory not highlighted