add sanitize and remove unnecessary code in gemspec