promise return fix #5