bravo: fixed some compiling errors #3