corrected some parameters