Fixed some errors with paths