Fix difference between staticly secured pages and dynamicly