prevent promises form throwing (up??)