fixed order of xbeep.cpp