fix switched param