made bind() identical to native bind()