fix empty file best.R