fix operation type