Controller fix: layout name cannot be updated