fix period scopes and filter and search