fixing an issue in carbon module