Fixed issue for branch monitor