fix CALL environment cleaning bug