fix bug due to shallow copy of env
bump version to 0.0.6