fixed a few bugs with the version dropdown