Fixed the parameters initialization