changed the input in show view