fixed legen. working on default