bump version and fix constructor args checking