fix bug - wrong order in table