fix phoenix workaround