replace usage of module 'compat' with 'compat_six'