check courses dir