Fix obsolete layout params