fix for projects dir detection