Fixed 530

Fixed issue #530 . When creating a new page the URL resets