cleanup paths so it'll work in more environments