quick fix for undefined compat variable