fix issues in promise dao