fixed reloading api code during development