Adding terms in alpha order, the previous fix for the null pointer exception was not correct and only created another problem.