Stupidly
given to unintelligent decisions or acts : acting in an unintelligent or careless manner
Obama:"Cambridge police acted stupidly in arresting somebody when there was already proof that they were in their own home."