fix wrong transformation for the table