fixing error re: clicks not registering