JazakumAllahu khairan sister. I think the way you read could be right. It could be "Ya Badee' al 'ajaaibi bil khairi Ya Badee'" If you read it like this you are saying: "O Originator of the wonders with the good, O Originator" However I am not an expert, so don't take my word to be final. Although, the second way to me seems grammatically incorrect unless the "Ya Badee"' is seperate from the rest...