fixed some promise references