fixed a small glitch and updated version