fixed barista compile error