fix additioanl case of #1176