fix subscribe bug