[#172] fix for directly assigned layouts