removes invalid parameter, updates views