handling weird pagecontainer on save