fix bug in case object is not promise but have promise property