fix bug with operators