fixed small types problem