fixed pending warning