before loading parameters from file the current parameters need to be cleared.