fix error of initial commit plus add base security