correct validate env and stop_signals
add load specs to be ensure in some hard cases