Fixed some weird problems with path.