optimize option; resize fix