Deprecated fix

This throws error on admin dashboard loading.