corrected some params