fix API includes and a missed action