I think i found the thing! I have one to many \n before the last } in the class