fix wrong operation