The present invention relates to compounds of general formula I or pharmaceutically acceptable salts thereof, wherein R1, R2, R3, X, R and n are as defined herein. The compounds may be used for the treatment of schizophrenia, obsessive-compulsive personality disorder, major depression, bipolar disorders, anxiety disorders, normal aging, epilepsy, retinal degeneration, traumatic brain injury, spinal cord injury, post-traumatic stress disorder, panic disorder, Parkinson's disease, dementia, Alzheimer's disease, mild cognitive impairment, chemotherapy-induced cognitive dysfunction, Down syndrome, autism spectrum disorders, hearing loss, tinnitus, spinocerebellar ataxia, amyotrophic lateral sclerosis, multiple sclerosis, Huntington's disease, stroke, radiation therapy, chronic stress, abuse of neuro-active drugs, such as alcohol, opiates, methamphetamine, phencyclidine and cocaine.