fix the bug in pi_mc and update a simple readme