in IDE result is ok, but here do not pass