bug fixes in kinect
Merge branch 'Branch-P'