fixed compat issue