delete pictures. HTTP 500 problem