fix for backward compatible