fix phi constants