fixed action check on new php servers.