fixing comparison of formula + started gluelines