fix bug in reservoir table