fix invalid request to resolve APIs

closes #16