Fixed joined promise implementation