added missing loader reset