fixed some type errors
change the version