fixed commission bug