How do I handle empty promises