maybe `delete pages_loading[idx]` is better?
btw, which one do you think is better, map or array? (for `pages_loading`)