fix binary operation error