compatibility fix, test in 5.3