compatibility with base < 4.6