mc REST API fix