Fix chip related crash