auto exit for hinting