increment version number and fix bugs