fix for compatibility