fix bc mode for bin functions