fixed bug in GetOnePic