fixed optimize version