Disclosed are compounds inhibiting the conversion of α-KG to D-2-HG pharmaceutically acceptable salts, hydrates, solvates or stereoisomers thereof and pharmaceutical compositions comprising the compounds. The compound and the pharmaceutical composition can effectively treat IDH associated diseases, including cancer.