fix bug in table reference

Signed-off-by: gabriel <gactisaversa@janpak.com>