Fix numpy letter type