final workaround for PHP bug 52065