changed parse_version to LooseVersion