fixing api extension