optimize last version