fix broken compatibility