improve some basic types