ungrammatically (grammatically + un-; negation)
In an ungrammatical manner