ensure that layouts are passed