fix subscribe errors