Fixed bind-related bug