removed nil from layout