a nicer fix for the bind-problem