clear table map on rotate event
comment unnecessary struct