bug fix & bestline command