fix layouts pram