delete unneded code, code format
add delete env var block