fixed handling of saved parameters