fixed some types in promises.ls