fixing promise when for when you actually want the done information to be usable