fix path issues when using composer