fix operation bug