correcting some parameters