fix mock plugin