Core/Battleground: fixed typo
* and fixed some warnings