This question already has an answer here:
On my passport Given name is Castiel and last name is Black.
On the ticket my given name is
Castielmr and the title field is blank.
So it is printed as
I cant remove the mr now from the booking website of qatar airline. My travel agent did the booking.