On problems and computational imaging solutions for ptychography