changed mode
fixed open_all