fixing litcoffee pattern