Yes, I had a problem with the reference alleles on the bim files. That solved the problem.
If you have some experienced with the scoring function could you explain me what this two variables mean? I can't understand the definition from the plink manual explanation. Thank you again.