Fixed buggy page creation process