handle buggy version for backward compat