fixed issue with page extensions