adjust production category logic
strip useless line