add some pre setting