tried to fix no-pics ios bug;cleaned up server