Fix unauthorized layout