fixes params mistake