fix deprecated function and use ee()