simplify promise resolution
remove from repository
typo