Found the problem and fixed it