removes unnecessary param