diff --git a/lib/rack/passbook_rack.rb b/lib/rack/passbook_rack.rb
index <HASH>..<HASH> 100644
--- a/lib/rack/passbook_rack.rb
+++ b/lib/rack/passbook_rack.rb
@@ -7,11 +7,7 @@ module Rack
     end
 
     def call(env)
-      if env['HTTP_AUTHORIZATION']
-        parameters_duplicate = env['HTTP_AUTHORIZATION'].dup
-        parameters_duplicate.gsub!(/ApplePass /,'')
-        @parameters['authToken'] = parameters_duplicate
-      end
+      @parameters['authToken'] = env['HTTP_AUTHORIZATION'].gsub(/ApplePass /,'') if env['HTTP_AUTHORIZATION']
       @parameters.merge!(Rack::Utils.parse_nested_query(env['QUERY_STRING']))
       method_and_params = find_method env['PATH_INFO']
       if method_and_params
more effective code to get AuthToken