set version and clean code