Fix for compatibilitymode