fix pending method