fix management commands to only send alerts if guide exists