fixed bug with version incrementation