Fix #345 revision number problem