fix/cleanup shiny code