fix: fix promises return type