fixed bug in useredit_person - pngs not correctly handled