Fixed bugs about operations choices.