Bug fix with params

Fixed bug: params disappeared at second launch.