fix bug in reservoir data