fixed bug in battle service