Fix subscribe bug.