Fix done callback not fired