fix integration with wordpress api