fix init & screenshot