fixed coffee bug#