removed codepage warnings and  fixing sizetype conversion warning.
removing unused old module