fix problem with files generation