Fix possible flood exploit