fix mashery factory