Fix bind problems