fixed the get alias from null env_stack problem