Thanks @mitchlloyd I incorporated this change and it works!