quick fix to battledata constuctor