modify pomelo version; optimize lord code