fix handout mode