adding fix for static page creation