added opertionchain variables
fixed operation error