fixed  issue with extending page