r379: fixed compiling error