Fixing bad path variables