fixed generation of candidates for derivates