remove format,document monitor class,fix some stuff