fixed term lists rendering
made the buttons actually work