small bugfix where http requests would be called over and over again