fixing for the latest kdl api