fixed missing figures problem