Fixed bugs in chrome local test.