dock:: make a little change.

1. make a little for getting region.
2. add some debug info.