deactivate method: identify_immutable_variables; tidy-up codes
add test-case for reference
release 0.3.22