Occasionally the RAPID-ML editor may get into a state where it cannot correctly parse the model. Try closing and re-opening the editor to see if this resolves the problem.