fix for xpath, uses ClassName and Instance instead of Index