small fix for compatibility