fix compatibility for absolute path projects