The present invention relates to solid semisolid or liquid formulations comprising amine compounds that prevent or reduce formic acid and/or formyl species generation in the dosage form during the manufacturing process and/or during shelf life storage. The formulations of the present invention prevent or reduce formation of N formyl impurities (and gelatin crosslinking) during the manufacturing process and/or during shelf life storage.