accounts table fix