fixed missing needle issue, close #2