refactor getOverlays
Update R0.4