Compounding bug fixed