fixed a bug in uploading which removed all children, and a bug in nav menu which loaded the whole page inside the page content