finally fixed processings generator