cursor fix for overrides + some debug assertions that that will fail when page is reused too early