hotfix for savelayout