Removing the unneeded event listener because I was too tired to pay attention to what was going on within the system