Compat fix for 1.3