hack for phoenixagent