fixing some type sizing