stupid bug was fixed, and added a commented console.log for debug