making st.rv more robust