fix local mode master proxy bug issue #38

For issue #38