fixed compilation on anon client