Fixed some path bugs.
Merge pull request #31 from rhyolight/status-fix

Fixed some path bugs.