fixed api parsing for issues