revert visits action param to type