fixed poor_man bug