Add anti-spam config and bug prevention