fixes the use of bind()