fixes picture request problem by increasing buffer size to 512 bytes