Fixed apply-env problem with boxing. A17 tests 100%