rebuild for deploy