remove unnecessary code. pcl takes care of it now