fix argument error in layout