fix bug to allow 32 bit types