fixed one bug about generating the combined expression