fix coffee-mode