Fixing parameters in quit method call