Fix chip bug