Given name on EAD card don't have spaces between two words

I recently received my EAD card from USCIS.

My given name on SSN/I20/I94/Passport is AAA BBB

On EAD card it was printed as AAABBB without a space between two words. Should I get this corrected or is it fine to have it unchanged.

I think you should be fine. Nobody checks the EAD after all, except for the employer. It is the I-20 and visa that is checked at immigration.

Just check with your school DSO in International Office, to confirm if it is a minor issue.