fix coffee bug