fixed court creation safari bug