auto centering, fix version bug