fixed missing call to rejected