fixed a bug in the version neg