pry nav and cleanup