fixed a bug with the operators