fixed error in binar macros