fix type sizes