So far any alkylation I have attempted involved freebase but this time I tried it on a hydrochloride (DMF, sodium carbonate, MW radiation, 100°C, 45 min) and it worked (MS confirmed the mass of the product) but after the workup the yield was rather low.
Did you previously perform exactly the same reaction with the freebase? If so, did it work?
How many equivalents of base did you add when using the hydrochloride?
When it comes to isolating other stuff I didn't bother much with identifying what else was there.
It's difficult to solve a problem if you don't know what the problem is. If you have not performed this exact reaction successfully with the freebase form, then there is no evidence that the problem is due to the fact you are using the HCl salt. Unless you didn't add enough carbonate, I doubt this is the root of the problem.
You could isolate the freebase by organic extraction from sat. Na
2CO
3 or ion exchange (if the freebase is too water soluble) and test that. However, if your remaining mass balance is very polar streaky material, this may suggest quaternary ammonium salts from amine overalkylation (which will not be avoided by using the freebase). Do you see any of that by MS (you should see it clearly using ESI +ve if it's there)?
I imagine you could try reductive amination of pyruvaldehyde instead of using an alkyl halide (which avoids the classic amine overalkylation side reaction).