Bounded rationality, default and borrowing constraints