optimize for deploy