fixed warnings and updated version number