correct the Promise constructor interface