fixing issue with reset not always reseting if rows or cols are the same