Fixing save function, was missing table.