Caught the error, now only need a solution.