fixed errors which came up after merging Kinect Methods