added ob_start() for constructor

fix the notice ob_clean issue