Fixed bug in send pic