fixed page access and localization detection