cut down some not use configure