next optimize and stable version