add background color and open_window in formatter