fixed warning for improper binary operators