fixing bugs and rendering in explanation stuff