[Fix]: proposed solution of issue #988