fixed debind bug