compatibility workaround for brian > 1.3.1 (e.g., 1.4.1)