Remove unused attributes
Fix region refresh code