clean up version to be head