Fix operators precedence and some other conflicts