$message gets defined twice. The first one (L58) can be removed.