tested and fixed more aspects of the court identifier