Fix get_pic parsing